<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wd_cate')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[wd_cate]',$cate,$row['wd_cate'])}
        </div>
    </div>


    <!--<div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wd_template_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wd_template_id" data-rule="required" data-source="wd/template/index" class="form-control selectpage" name="row[wd_template_id]" type="text" value="{$row.wd_template_id|htmlentities}">
        </div>
    </div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wd_content')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-wd_content" class="form-control editor" rows="5" name="row[wd_content]" cols="50">{$row.wd_content|htmlentities}</textarea>
        </div>
    </div>
 <!--   <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wd_file_arr')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-wd_file_arr" class="form-control " rows="5" name="row[wd_file_arr]" cols="50">{$row.wd_file_arr|htmlentities}</textarea>
        </div>
    </div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wd_in_use')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[wd_in_use]',$status,$row['wd_in_use'])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wd_prior')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[wd_prior]',$status,$row['wd_prior'])}
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
